package com.xxxy.ljh.myapplication.Dao;

import com.xxxy.ljh.myapplication.model.UserPointsRecord;
import java.util.List;

public interface UserPointsRecordDao {
    long insertPointsRecord(UserPointsRecord record);
    List<UserPointsRecord> getPointsRecordsByUserId(int userId);
    int getTotalPointsByUserId(int userId);
    List<UserPointsRecord> getPointsRanking(int limit);
}
